package com.cyh.core.framework.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: yanhang_chen
 * @Date: 2020/9/7 9:30
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationLogDetail {

    /**
     * level 0 : Info
     * level 1 : Debug
     * level 2 : Warn
     * level 3 : Error
     */
    int level() default 0;

    String detail() default "";

}
